package com.mykt.constant;

/**
 *  用户登录/注册 相关常量
 */
public class LoginConstants {

    /**
     * 成功状态
     */
    public static final Integer SUCCESS_STATUS = 0;

    /**
     * 失败状态
     */
    public static final Integer ERROR_STATUS = 1;


    /**
     * 注册
     */
    public static final String REGISTER = "Register";

    /**
     * 登录成功
     */
    public static final String LOGIN_SUCCESS = "Success";

    /**
     * 登录失败
     */
    public static final String LOGIN_FAIL = "Error";


    /**
     * 用户名长度限制
     */
    public static final int USERNAME_MIN_LENGTH = 2;

    public static final int USERNAME_MAX_LENGTH = 20;


    /**
     * 密码长度限制
     */
    public static final int PASSWORD_MIN_LENGTH = 5;

    public static final int PASSWORD_MAX_LENGTH = 20;

}
